public class Main {
    public static void main(String[] args) {
/*        Student s1;
        s1 = new Student();*/
        Student s1 = new Student();
        System.out.println(s1.studentNo);
        Student s2 = new Student("02", "小明", 50, "本科");
        System.out.println(s2.studentNo + " " + s2.studentName + " " + s2.age + " " + s2.studentEducation);


        Teacher t1 = new Teacher();
        System.out.println(t1.teacherName);
        Teacher t2 = new Teacher("肖继超", "JAVASE", true);
        System.out.println(t2.teacherName + " " + t2.course + " " + t2.isMole);


        Company c1 = new Company("01", "成都", "任杰", 240000);
        System.out.println("你的月工资：" + c1.computePay(c1.salary));
        c1.mailCheck();
    }
}
